package com.ctshk.rpc.order.custom.req.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 新增保单收据req
 */
@Data
@ApiModel(value="新增保单收据req", description="新增保单收据req")
public class ReceiptInsuranceAddReq implements Serializable {

    @ApiModelProperty(value = "保单收据ID")
    private Long receiptInsuranceId;

    @NotNull(message = "保单ID不能为空")
    @ApiModelProperty(value = "保单ID",required = true)
    private Long insuranceId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @NotNull(message = "團體/旅客姓名不能为空")
    @ApiModelProperty(value = "團體/旅客姓名",required = true)
    private String touristName;

    @ApiModelProperty(value = "付款方式")
    private String payMethod;

    @ApiModelProperty(value = "币种")
    private String currency;

    @ApiModelProperty(value = "卡号")
    private String cardNumber;

}
